import request from '../utils/request'

let baseUrl = process.env.VUE_APP_XS_API

// 获取核销报表列表
export function getProtList(params) {
  return request({
    url: `${baseUrl}/business_admin/sweptWriteOff/getSweptWriteOffPage`,
    method: 'post',
    data:params
  })
}

// 获取报表详情
export function getProtDetail(params) {
    return request({
      url: `${baseUrl}/business_admin/sweptWriteOff/detail`,
      method: 'post',
      data:params
    })
  }
  
// 获取核销统计
export function getProtSum(params) {
    return request({
      url: `${baseUrl}/business_admin/sweptWriteOff/getStatisticsPage`,
      method: 'post',
      data:params
    })
  }
export function getStatisticDataVo(params) {
    return request({
      url: `${baseUrl}/business_admin/sweptWriteOff/getStatisticDataVo`,
      method: 'post',
      data:params
    })
  }
  
// 重打小票
export function print(params) {
  return request({
	url: `${baseUrl}/business_admin/sweptWriteOff/print`,
	method: 'post',
	data:params
  })
}